*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
input{
  outline: none;
}
html,body{
  height: 100%;
}
body{
  background: linear-gradient(to right, #fffafa,#b3d4fc);
  display: flex;
}
.box{
  display: flex;
  width: 1050px;
  height: 600px;
  position: relative;

  margin: auto;
  border-radius: 50px;
  border:1px solid rgba(255,255,255,0.6);
  box-shadow: 4px 4px 3px rgba(23, 23, 23, 0.2);
}
element.style {
  transform: translateX(0%);
  background-color: rgb(237 251 255);
}
.pre-box{
  position: absolute;
  width: calc(1050px / 2);
  left:0;
  top:0;
  height: 100%;
  border-radius: 50px;
  background-color: #E2ECFB !important;
  box-shadow: 4px 4px 3px rgba(23, 23, 23, 0.2);
  transition: 0.5s ease-in-out;
}
.pre-box h1{
  margin-top: 150px;
  text-align: center;
  letter-spacing: 5px;
  text-shadow: 4px 4px 3px rgba(23, 23, 23, 0.2);
  color: rgb(0, 0, 0);
}
.pre-box p{
  height: 30px;
  line-height: 30px;
  text-align: center;
  margin:20px 0;
  font-weight: bold;
  text-shadow: 4px 4px 3px rgba(23, 23, 23, 0.2);
}
.img-box {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px auto;

}
.img-box img{
  border-radius: 100%;
  width: 100%;
  transition: 0.5s;
}

.login-form, .register-form{
  flex:1;
  height: 100%;
}
.title-box{
  height: 300px;
  line-height: 500px;
}
.title-box h1{
  text-align: center;
  letter-spacing: 5px;
  color: white;
  text-shadow: 4px 4px 3px rgba(23, 23, 23, 0.2);
}
.input-box{
  display: flex;
  flex-direction:column;
  align-items: center;
}


input{
  width: 60%;
  height: 40px;
  margin-bottom: 20px;
  text-indent: 4px;
  border:1px solid #6ab8ff;
  border-radius: 4px ;
}
input:focus{
  color: #6bc4ff;
}
input:focus::placeholder{
 opacity: 0;
}
.btn-box{
  display: flex;
  justify-content: center;
}
button{
  border: none;
  background-color: #77caff;
  color: white;
  line-height: 30px;
  border-radius: 4px;
  width: 100px;
  height:30px;
  margin: 0 10px;
}
button:hover{
  cursor: pointer;
  opacity: .8;

}
.btn-box{
  height: 30px;
  line-height: 30px;
  font-size: 14px;
color: white;
}
.btn-box p:hover{
  cursor: pointer;
  border-bottom: 1px solid white;
}
.pre-box{
  position: absolute;
  width: calc(1050px / 2);
  left:0;
  top:0;
  height: 100%;
  border-radius: 50px;
  background-color: #E2ECFB !important;
  box-shadow: 4px 4px 3px rgba(23, 23, 23, 0.2);
  transition: 0.5s ease-in-out;
}